package com.kakarote.oa.entity.VO;

import com.kakarote.core.feign.admin.entity.SimpleDept;
import com.kakarote.core.feign.admin.entity.SimpleUser;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.time.LocalDateTime;
import java.util.Collections;
import java.util.List;
import java.util.Map;

/**
 * @author wwl
 * @date 2022/7/5 10:50
 */
@Data
@ApiModel(value = "OaLogTemplate返前端的详情对象", description = "日志模板")
public class OaLogTemplateConfigListVO {

    @ApiModelProperty(value = "主键")
    private Long id;

    @ApiModelProperty(value = "是否自定义0否1是")
    private Integer systemFlag;

    @ApiModelProperty(value = "模板名称")
    private String name;

    @ApiModelProperty(value = "模板icon")
    private String templateIcon;

    @ApiModelProperty(value = "描述说明")
    private String remark;

    @ApiModelProperty(value = "模板类型 模板类型1日报2周报3月报4自定义")
    private Integer type;

    @ApiModelProperty(value = "模板状态1 正常 2 停用 3 删除 ")
    private Integer status;

    @ApiModelProperty(value = "创建时间")
    private LocalDateTime createTime;

    @ApiModelProperty(value = "创建人")
    private Long createUserId;

    @ApiModelProperty(value = "创建人名称")
    private String createUserName;

    @ApiModelProperty(value = "修改时间")
    private LocalDateTime updateTime;

    @ApiModelProperty(value = "修改人")
    private Long updateUserId;

    @ApiModelProperty(value = "修改人名称")
    private String updateUserName;

    @ApiModelProperty(value = "可见人")
    private List<SimpleUser> userList = Collections.emptyList();

    @ApiModelProperty(value = "可见部门")
    private List<SimpleDept> deptList = Collections.emptyList();

    @ApiModelProperty(value = "语言包map")
    private Map<String, String> languageKeyMap;
}
